<?php
if($_POST['title'] == '')
{
    $_POST['title'] = 'no subject';
}
$arr = array(
    $_POST['title'],
    $_POST['comment'],
    $_COOKIE['user_id'],
    $_POST['id']
);
$comment = new Models_Articles();
$comment->setComment($arr);
?>
<div class="alert alert-success">
    <h4>Your comment has been sent to check to the administrator.</h4>
    <a href="/<?php $comment->printPath(); ?>articles/show/<?php echo $_POST['id']; ?>" class="btn btn-info"><i class="icon-arrow-left icon-white"></i> Back to article</a>
</div>